package org.finesys.ai;

import org.finesys.common.security.core.annotation.EnableAuthResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author sunits
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAuthResourceServer
@EnableFeignClients(basePackages = {"org.finesys"})
@MapperScan(basePackages = {"org.finesys.ai.mapper"})
@ComponentScan(basePackages = {"org.finesys.ai","org.finesys.chat.core.base"})
public class SpringBootAIApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootAIApplication.class, args);
    }
}
